﻿    
            <div id="menucontainer">
                <ul id="menu">
                    <li>@Html.ActionLink("Home", "Index", "Home", new { Area = "" }, new { })</li>
                     @if (Request.IsAuthenticated)
                     {
                         if (User.IsInRole(SchoolManagerMVC.Web.Models.Constants.Student))
                         {
                            <li>@Html.ActionLink("My Account", "Index", "Home", new { Area = "Students" }, new { })</li>
                         }
                         else if (User.IsInRole(SchoolManagerMVC.Web.Models.Constants.FacultyMember))
                         {                         
                            <li>@Html.ActionLink("Faculty Functions", "Index", "Home", new { Area = "Faculty" }, new { })</li> 
                         }
                         else if (User.IsInRole(SchoolManagerMVC.Web.Models.Constants.Admin) || User.IsInRole(SchoolManagerMVC.Web.Models.Constants.OfficeAdmin))
                         {
                            <li>@Html.ActionLink("Faculty", "Index", "Home", new { Area = "Faculty" }, new { })</li>
                            <li>@Html.ActionLink("Students", "Index", "Home", new { Area = "Students" }, new { })</li>
                            <li>@Html.ActionLink("Departments", "Index", "Home", new { Area = "Departments" }, new { })</li>
                            <li>@Html.ActionLink("Courses", "Index", "Home", new { Area = "Courses" }, new { })</li>
                         }
                     }
                     
                </ul>
            </div>
          